function validateForm() {
    var fullname = document.forms["myForm"]["fullname"].value;
    if (fullname==null || fullname=="") {
        alert("First name must be filled out");
        return false;
    }
}